package Chapter5;

import java.util.Vector;
public class VectorTest {
    public static void main(String[] args) {
        String a = "Hello";
        String b = "World";
        Vector <String> MyVector = new Vector<>(100,50); //初始容量100，增量50
        MyVector.addElement(a);
        MyVector.addElement(b);
        System.out.println("Chapter5.MyVector="+MyVector);
    }
}
